package thinkingInJava.nesting.Inherit;

class WithInner {
	  class Inner {}
	}

public class InheritInner extends WithInner.Inner {
  //! InheritInner() {} // Won't compile
  InheritInner(WithInner wi) {
    wi.super();
    //enclosingClassReference.super();	// 书上说要这样才能编译通过，但实际上用了才编不过
  }

  public static void main(String[] args) {
    WithInner wi = new WithInner();
    InheritInner ii = new InheritInner(wi);
  }
} ///:~